﻿namespace HRM.CORE
{
    using APP.HELPER.Utils.Language;
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;

    public class xfmCandidate : XtraForm
    {
        private IContainer components = null;

        public xfmCandidate()
        {
            this.InitializeComponent();
            this.Text = MultiLanguages.GetString("tbl_Candidate", "CandidateList", this.Text);
            base.Load += new EventHandler(this.xfmCandidate_Load);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x2b1, 0x20a);
            base.Name = "xfmCandidate";
            this.Text = "Danh S\x00e1ch Ứng Vi\x00ean";
            base.ResumeLayout(false);
        }

        private void xfmCandidate_Load(object sender, EventArgs e)
        {
            xucCandidate candidate = new xucCandidate();
            candidate.Closed += new xucCandidate.ClosedHander(this.xuccandidate_Closed);
            base.Controls.Add(candidate);
            candidate.Dock = DockStyle.Fill;
            candidate.Show();
        }

        private void xuccandidate_Closed(object sender)
        {
            base.Close();
        }
    }
}

